Determining logarithm's linearity

  • Thread starter Thread starter atrus_ovis
  • Start date Start date
  • Tags Tags
    Linearity
AI Thread Summary
The discussion centers on determining the linearity of the function y(t) = log(x(t)). It is established that for a system to be linear, it must satisfy homogeneity and additivity, which the logarithmic function does not. Specifically, log(ax(t)) does not equal a log(x(t)), and log(x1(t) + x2(t)) does not equal log(x1(t)) + log(x2(t)). Consequently, the system y(t) = log(x(t)) is neither homogeneous nor additive, confirming that it is not linear. The conclusion is that demonstrating either property fails is sufficient to prove the function's non-linearity.
atrus_ovis
Messages
99
Reaction score
0
Is the following sufficient to prove linearity of
y(t) = log (x(t)) ?

In order for the system to be linear, this must be true:
ax1(t) + ax2(t) \stackrel{response}{\rightarrow} a log(x1(t)) + a log(x2(t) ) (1)
but for input ax(t):
ax(t) -> log(ax(t))=log(a) + log(x(t))

thus
ax1(t) + bx2(t) \stackrel{response}{\rightarrow} log(ax1(t)) + log(bx2(t) )
=log(a) + log(x1(t)) + log(b) + log(x2(t)) =/= (1)

is this sufficient?

i don't know if this counts as a homework question, it's kinda general.Sorry if I'm wrong.
 
Last edited:
Physics news on Phys.org
ax1(t) + bx2(t) = a log(x1(t)) + b log(x2(t) ) (1)
Where did you get this?
 
Ah, wrong.The constant must be the same. Also, no '=', i used it as 'the system yields' operator.

edited
 
atrus_ovis said:
Ah, wrong.The constant must be the same.
Actually, the constants don't have to be the same. To show a function f is linear, you need to show two things: 1) f(x+y) = f(x)+f(y) and 2) f(ax) = a f(x). You can show both simultaneously by proving f(ax+by) = a f(x) + b f(y).
Also, no '=', i used it as 'the system yields' operator.
This is a really bad practice, which should be avoided and which, unfortunately, students commonly use. In mathematics especially, the equal sign is never used this way.
 
atrus_ovis said:
ax1(t) + bx2(t) = log(ax1(t)) + log(bx2(t) )
How did you get this?

log (ax + by) ≠ log(ax) + log(by)
is this sufficient?
What are you trying to show specifically?
 
damn, the systems notation confused me

What are you trying to show specifically?
to determine if the system x(t) ->log(x(t)) is linear.Meaning that the system which at an input x(t) produces an output of log(x(t)) is linear.

so i have to show that
it's homogenous
log (ax(t)) = a log(x(t))
and additive
log(x1(t) + x2(t)) = log(x1(t)) + log( x2(t))
right?

by the way, does proving the above mean / is the same as saying that it's closed under scalar multiplication and closed under addition?
 
atrus_ovis said:
damn, the systems notation confused me


to determine if the system x(t) ->log(x(t)) is linear.Meaning that the system which at an input x(t) produces an output of log(x(t)) is linear.

so i have to show that
it's homogenous
log (ax(t)) = a log(x(t))
and additive
log(x1(t) + x2(t)) = log(x1(t)) + log( x2(t))
right?
Right. Or show that either one doesn't hold and conclude that the system isn't linear.
by the way, does proving the above mean / is the same as saying that it's closed under scalar multiplication and closed under addition?
It looks similar, but it's not the same. When you talk about closure, you're typically referring to a set and an operation. You'd say the set is closed under the operation if applying that operation to any two elements in the set yields another element in the set. For example, you'd say the set of integers Z is closed under addition because if you add any two integers, you'll get another integer. This same set would not be closed under division because while 1 and 2 are both in Z, their quotient, 1/2, is not an element of Z.
 
So will .. simply mentioning that
log(ax(t)) = loga + log(x(t)) =/= alog(x(t)) ,

log(x1(t)+x2(t)) =/= log(x1(t)) + log(x2(t)),

due to the logarithm's properties.Thus the system y(t)=log(x(t)) is neither homogenous nor additive, and thus it is not linear.

will suffice?
 
Yes, simply noting either one would be sufficient to show the log isn't a linear function.
 
  • #10
All right.
Thanks for the helpful replies.
 
  • #11
log 1+ log 1= 0+ 0= 0 while log 2 is NOT 0. That suffices.
 
  • #12
Great. Thanks.
 

Similar threads

Back
Top