Linear function problem alternative solution

  • Thread starter Thread starter Rectifier
  • Start date Start date
  • Tags Tags
    Function Linear
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
Rectifier
Gold Member
Messages
313
Reaction score
4
Hey!
I am searching for an alternative way to solve this problem
1. The problem
For a linear funtion following applies:
##f(a+1)=a+2##
Write the linear function on the ## y=kx+m ## form

Homework Equations


##f(a+1)=a+2 \\ y=kx+m ##

3. The attempt
Here is how I solved the problem:
##f(a+1)=k(a+1)+m \\ k(a+1)+m = a+2 \\ k(a+1)+m = a+1+1 \\ k(a+1)+m = 1 \cdot (a+1)+1 ##
Following gives ##k=1## and ##m=1##. This means that the equation is:
$$y=x+1$$

Any ideas on how I could solve this differently?
 
Physics news on Phys.org
It is worth noticing ##f(1) = 2, \space f(2) = 3, \space f(3) = 4, ...##

You can easily find the slope in this manner:

##m = \frac{\Delta y}{\Delta x} = 1##

Then using anyone of those points, say ##f(1) = 2##, you find that ##y = mx + b \Rightarrow b = 1##.
 
Rectifier said:
Hey!
I am searching for an alternative way to solve this problem
1. The problem
For a linear funtion following applies:
##f(a+1)=a+2##
Write the linear function on the ## y=kx+m ## form

Homework Equations


##f(a+1)=a+2 \\ y=kx+m ##

3. The attempt
Here is how I solved the problem:
##f(a+1)=k(a+1)+m \\ k(a+1)+m = a+2 \\ k(a+1)+m = a+1+1 \\ k(a+1)+m = 1 \cdot (a+1)+1 ##
Following gives ##k=1## and ##m=1##. This means that the equation is:
$$y=x+1$$

Any ideas on how I could solve this differently?

Much quicker: for any given ##x## let ##a = x+1##. Then the equation says ##f(x) = x+1##.
 
Zondrina said:
It is worth noticing ##f(1) = 2, \space f(2) = 3, \space f(3) = 4, ...##

You can easily find the slope in this manner:

##m = \frac{\Delta y}{\Delta x} = 1##

Then using anyone of those points, say ##f(1) = 2##, you find that ##y = mx + b \Rightarrow b = 1##.

Yeah that an alternative too. Thanks for the comment :)
 
Ray Vickson said:
Much quicker: for any given ##x## let ##a = x+1##. Then the equation says ##f(x) = x+1##.

Thank you for the comment.

Do you mean like that:

##f((x+1)+1)=(x+1)+2##

?

If yes, what's is the next step?
 
Rectifier said:
Thank you for the comment.

Do you mean like that:

##f((x+1)+1)=(x+1)+2##

?

If yes, what's is the next step?

Sorry: there was a typo in my post. It should have said that for any given ##x##, let ##a = x-1##. That gives ##f(x) = x+1##. Since this holds for any ##x## that's it: there is no more to be done.