How Can I Express This Function with a Complex Square Root Term?

  • Context: Undergrad 
  • Thread starter Thread starter Big-Daddy
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Discussion Overview

The discussion revolves around expressing a function that depends on an integer variable "y" with a complex square root term. Participants explore how to incorporate the imaginary unit "i" into the function based on whether "y" is odd or even, with a focus on mathematical formulations and manipulations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant proposes that the function should be multiplied by "i" when "y" is odd and by "1" when "y" is even, seeking a way to express this using a term involving "i".
  • Another participant suggests using the expression \tfrac12\left( (-1)^y + 1 \right) to achieve the desired behavior for even and odd values of "y".
  • A different participant confirms the initial goal of obtaining "i" for odd "y" and "1" for even "y".
  • One participant provides a formula that combines both even and odd cases, indicating a possible solution while acknowledging the hint given by another participant.
  • Another participant mentions an alternative formulation involving "i" raised to a power based on "y", suggesting that this approach could also work.
  • One participant expresses gratitude for the solutions provided and inquires about the process of deriving such formulas, indicating interest in the methods used.
  • A later reply discusses common mathematical tricks used in physics to manipulate expressions involving powers of "-1", explaining how these can lead to the desired outcomes.

Areas of Agreement / Disagreement

Participants appear to agree on the goal of expressing the function correctly, but multiple approaches and formulations are presented, indicating that there is no single consensus on the best method.

Contextual Notes

Some participants reference specific mathematical manipulations and tricks that may depend on familiarity with certain techniques, which could limit understanding for those less experienced in such methods.

Who May Find This Useful

This discussion may be useful for individuals interested in mathematical expressions involving complex numbers, particularly in the context of functions dependent on integer variables, as well as those exploring mathematical techniques used in physics.

Big-Daddy
Messages
333
Reaction score
1
(i being the complex square root of -1 here.)

I have a function which is dependent on the term "y", where, if y is odd, the function is multiplied by i, whereas if y is even the function is multiplied by 1. (y is always a real integer greater than or equal to 0.)

How can I add an i^(some y function) term to the function to express this?

I have identified that i^(1+multiple of 4)=i, whereas i^(0+multiple of 4)=1.

I considered i^(4y-3), but not only does this break down for small values of y, but it yields wrong results for when I want the function to be multiplied by 1 as it never results in a multiple of 4 being the degree of i.
 
Physics news on Phys.org
(-1)^y is 1 when y is even and -1 when y is odd.
So \tfrac12\left( (-1)^y + 1 \right) is 1 when y is even and 0 when y is odd.
Does that help you proceed?

[edit]And of course i0 = 1.[/edit]
 
I think the OP was looking for i if y is odd and 1 if y is even
 
What about

\frac{1}{2}[(-1)^y + 1] + \frac{i}{2}[(-1)^{y+1} +1]

Edit: I guess CompuChip intended his post to be a hint so that the OP could guess this formula. But I don't see harm in giving the complete solution here.
 
Exactly micromass, mostly because I didn't feel like figuring out the details :)

Actually your solution is better than what I had in mind (which was something like i^\sigma where \sigma is based on what I wrote before).
 
micromass said:
\frac{1}{2}[(-1)^y + 1] + \frac{i}{2}[(-1)^{y+1} +1]
This can be written as
$$\frac{1+i}{2}+\frac{1-i}{2}(-1)^y$$

##i^\sigma## with ##\sigma=2y-1+(-1)^y## is possible, too.
 
Thanks all! Your formulae check out perfectly.

I was wondering how you come up with something like this? Is it roughly trial and error or do you somehow work back from the final goal?
 
Using (-1)^\epsilon (where \epsilon = 0, 1) is quite a common trick, especially in physics. From there it's just a bit of playing and shuffling around: you add one to shift the -1 to 0, and then you have to divide by 2 to scale the 2 back to 1.

Of course then you can repeat the trick with (-1) \cdot (-1)^\epsilon = (-1)^{\epsilon + 1}. This basically gives you two "indicator" functions: one which is zero if epsilon = 0 and one otherwise; and one which is zero if epsilon = 1 and zero otherwise. So you multiply one by the number you want for epsilon = 0 and the other one by the other value, leading to micromass' answer. mfb's answer is obtained by opening the brackets and rearranging so that instead of (...)1 + (...)i you get (...)1 + (...)(-1)y.

You'll find that you pick up quite a lot of these "tricks" over time, and then it's often a matter of a bit of experience or luck to pick the right one and some creative shuffling around to adapt it to your needs.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K