If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Algebra (all content)

Course: Algebra (all content)>Unit 7

Lesson 1: Evaluating functions

Worked example: evaluating expressions with function notation

Evaluating -2⋅f(-6)+g(1) given the graphs of f and g. Created by Sal Khan.

Want to join the conversation?

• How can we apply this information in real life? I mean, where do we see these types of graphs in our day-to-day lives?

I don't get how this would be useful.
• We Don't Learn Only Things That We can use in life but we also learn things to enrich our minds so that we can stretch them and learn how to problem solve and become independent instead of dependent! Do You know what I Mean?
• is there a reason that sal always uses the x as the input and receives a y value in return and not the other way around
• Tradition and the Cartesian Plane which uses x as the input and y as the output
• I don't know where is the best place to ask this question , and I am sorry for any bad English.

Can i have a function inside it self, is there a way to solve this or am I making this up ?
for example f(x)=f(x)+2+x; if I replace it with f(2) would there be a way to solve this ?
• Your example doesn't really involve a function. Notice that we can subtract f(x) from both sides to get 0=2+x.

Now subtract 2 from both sides to get x= -2. So we just have an equation of one variable that we can solve.

What we can do is define functions recursively. For example, we can define a function over the whole numbers:
f(0)=1
f(n)=n*f(n-1)

So if we want to find f(3), this is 3•f(2)=3•(2•f(1))=3•2•(1•f(0))=3•2•1•1=6.

If you meant something else, comment back.
• Around wouldn't it be -14+-5=-9 instead of -14+-5=-19?
• Same signs add numbers and keep sign, so since both are negative, add numbers (14+5) and keep the negative sign to get -19.
• The questions in the video are so easy. Can they be harder?
• how old do you have to be to do this stuff?
• There's no age limit! However, I think most schools teach this in grades 8-9.
• How do you tell the difference between function notation and regular multiplication?

Ex: f(x) is a function or f*x? Like in an actual algebraic complex equation?
• Once functions have been introduced, you should always assume f(x) is referring to a function named "f" with input value of "x". If it was multiplication, it would be written as "fx".
• Why can I never remember this?
• brain problems
(1 vote)
• idk how to do this fr 💀
(1 vote)
• What is happening here is basically you substituting the variable function [ex: f(x)] with the graphs. For the example -2⋅f(-6)+g(1), you find where -6 and 1 are on the graphs, since those are the x values, then substitute the values in the equation. Since g(1) lines up with -5, that is the value. After you substitute in the values just solve as a normal equation and you have the answer. Hope this cleared things up.