How to make a vector function from a f(x) function

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 · 13K views
DrummingAtom
Messages
657
Reaction score
2
Let's say I want to turn f(x) = x2 into a vector function. How would I do that?

I know I can take plots of f(x) = x2 then plug them into the Pythagorean theorem to get the distance from the origin and then I would also know the direction. But is that doesn't seem the same as a vector valued function.
 
Physics news on Phys.org
DrummingAtom said:
Let's say I want to turn f(x) = x2 into a vector function. How would I do that?

I'm not sure what you mean by this. Do you just want a vector that represents the x and y values wrt the origin? If so, all you need is:

<x,f(x)> = < x , x2 >
 
Wouldn't the length be needed for a vector function? The whole "magnitude and direction" thing for vectors. Something like V=(direction, length).
 
DrummingAtom said:
Wouldn't the length be needed for a vector function? The whole "magnitude and direction" thing for vectors. Something like V=(direction, length).

For any vector <x,y>, you can find the length by [tex]\sqrt{x^2 + y^2}[/tex].

In this case, if you want the length from the origin to a point (x,f(x)), all you need is [tex]\sqrt{(x)^2+(x^2)^2}[/tex]

----

Just out of curiousity, what are you trying to do with this?
 
Ok, I came up with this too: [tex]\sqrt{(x)^2+(x^2)^2}[/tex].

I guess I just wanted to figure out if the vector function would be in terms of (direction, length) or only the position. Thanks for help.
 
It sounds to me like you have some function f(x) and want to construct a vector that represents the postion vector of (x, f(x)).

The position vector of any point (x, y) is xi+ yj so the position vector of (x, f(x)) is xi+ f(x)j.