Simple Linear Transformation: Proving Linearity with (1,1) Vectors

negation
Messages
817
Reaction score
0

Homework Statement



f(x,y) -> |x+y|



The Attempt at a Solution



The answer is that the above transformation is not linear but my working shows otherwise.

Here's my go:

let u = (1,1) and v = (1,1)

f(u) = f(1,1) = 2

f(v) = f(1,1) = 2

f(u) + f(v) = 4

f(u+v) = f(2,2) = 4

f(u+v) = f(u) + f(v)

So a linear transformation exists.
 
Physics news on Phys.org
negation said:

Homework Statement



f(x,y) -> |x+y|



The Attempt at a Solution



The answer is

The answer to what? You haven't stated a question.

that the above transformation is not linear but my working shows otherwise.

Here's my go:

let u = (1,1) and v = (1,1)

f(u) = f(1,1) = 2

f(v) = f(1,1) = 2

f(u) + f(v) = 4

f(u+v) = f(2,2) = 4

f(u+v) = f(u) + f(v)

So a linear transformation exists.

So if it works for those two u and v values, it works for all of them eh?
 
LCKurtz said:
The answer to what? You haven't stated a question.



So if it works for those two u and v values, it works for all of them eh?



Woops, I submitted the thread too fast.

The question asks if the function is a linear transformation.

Not necessarily. How should I demonstrate? counter example?

Edit:

Things are different should I allow u = (1,0) and v = (-1,0)

then,

f(u) = 1 and f(v) = 1, then, f(u) + f(v) = 2

but f((u+v)) = f((1-1,0+0)) = f(0,0) = 0
 
negation said:
Things are different should I allow u = (1,0) and v = (-1,0)

then,

f(u) = 1 and f(v) = 1, then, f(u) + f(v) = 2

but f((u+v)) = f((1-1,0+0)) = f(0,0) = 0

so your conclusion is...

That's the right idea.
 
LCKurtz said:
so your conclusion is...

That's the right idea.

They do not preserve addition.

The value for u and v was randomly pluck. It is obvious that in an examination, trial and error is the last thing I want to assume.

Would you mind shedding some light how I should, without trial and error, arrive at the value for u and v such that they satisfy the condition?
 
negation said:
They do not preserve addition.

The value for u and v was randomly pluck. It is obvious that in an examination, trial and error is the last thing I want to assume.

Would you mind shedding some light how I should, without trial and error, arrive at the value for u and v such that they satisfy the condition?

You should start by writing the general thing you are trying to prove or disprove. In your example it was whether ##f(x,y)=|x+y|## is a linear transformation from ##R^2\rightarrow R^1##. So you are checking whether or not if ##u=(a,b)## and ##v = (c,d)## does ##f(u+v)=f(u)+f(v)##. Since ##u+v = (a+c,b+d)## this would mean ##|(a+b)+(c+d)| = |a+b|+|c+d|##.

You need to do that before you start trying to solve the problem, and this is a step that you are routinely skipping. Once you have it clear what you are proving or disproving you can usually tell whether it is an identity or not just by looking at it. You will be able to see the algebra to make it work or find numbers that show it doesn't work. Once you really understand the concept of "linear" they will usually be easy to tell.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top