How to remove I.0 from output?

  • #1
As I found on many websites, they suggest to use Chop[]. I tried that already but it doesn't work.

This is my output.

{{2 (Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2])) Subscript[\[Lambda],
1] (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2] + (I.0 + Subscript[v, 1]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) + (Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 2]/Sqrt[2])) Subscript[\[Lambda],
5] (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2] + (I.0 + Subscript[v, 1]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) +
1/2 (2 Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2]) + (Conjugate[I.0] +
Conjugate[Subscript[v, 1]]/Sqrt[2]) (I.0 + Subscript[v, 2]/
Sqrt[2])) Subscript[\[Lambda],
6] (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2] + (I.0 + Subscript[v, 1]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) -
1/2 I (-(Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2]) + (Conjugate[I.0] +
Conjugate[Subscript[v, 1]]/Sqrt[2]) (I.0 + Subscript[v, 2]/
Sqrt[2])) Subscript[\[Lambda],
8] (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2] + (I.0 + Subscript[v, 1]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) - \!\(
\*SubsuperscriptBox[\(\[Mu]\), \(1\), \(2\)]\ \((Conjugate[I . 0] +
\*FractionBox[\(Conjugate[
\*SubscriptBox[\(v\), \(1\)]]\),
SqrtBox[\(2\)]] + \((I . 0 +
\*FractionBox[
SubscriptBox[\(v\), \(1\)],
SqrtBox[\(2\)]])\)\ \*
SuperscriptBox["Conjugate", "\[Prime]",
MultilineFunction->None][I . 0 +
\*FractionBox[
SubscriptBox[\(v\), \(1\)],
SqrtBox[\(2\)]]])\)\) -
1/2 (-(Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[2]) (I.0 +
Subscript[v, 1]/Sqrt[2]) + (Conjugate[I.0] +
Conjugate[Subscript[v, 1]]/Sqrt[2]) (I.0 + Subscript[v, 2]/
Sqrt[2])) Subscript[\[Lambda],
4] (-Conjugate[I.0] - Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) -
1/2 I (Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2])) Subscript[\[Lambda],
8] (-Conjugate[I.0] - Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) -
1/2 I (Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 2]/Sqrt[2])) Subscript[\[Lambda],
9] (-Conjugate[I.0] - Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) -
1/4 I (2 Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2]) + (Conjugate[I.0] +
Conjugate[Subscript[v, 1]]/Sqrt[2]) (I.0 + Subscript[v, 2]/
Sqrt[2])) Subscript[\[Lambda],
10] (-Conjugate[I.0] - Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) + 1/2 I
\!\(\*SubsuperscriptBox[\(\[Mu]\), \(4\), \(2\)]\) (-Conjugate[I.0] -
Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) +
1/2 (2 Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2]) + (Conjugate[I.0] +
Conjugate[Subscript[v, 1]]/Sqrt[2]) (I.0 + Subscript[v, 2]/
Sqrt[2])) Subscript[\[Lambda],
3] (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) +
1/2 (Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 1]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2])) Subscript[\[Lambda],
6] (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) +
1/2 (Conjugate[
I.0] I.0 + (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 2]/Sqrt[2])) Subscript[\[Lambda],
7] (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) -
1/4 I (-(Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2]) (I.0 + Subscript[v, 1]/Sqrt[2]) + (Conjugate[I.0] +
Conjugate[Subscript[v, 1]]/Sqrt[2]) (I.0 + Subscript[v, 2]/
Sqrt[2])) Subscript[\[Lambda],
10] (Conjugate[I.0] + Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]]) - 1/2
\!\(\*SubsuperscriptBox[\(\[Mu]\), \(3\), \(2\)]\) (Conjugate[I.0] +
Conjugate[Subscript[v, 2]]/Sqrt[
2] + (I.0 + Subscript[v, 2]/Sqrt[2]) Derivative[1][Conjugate][
I.0 + Subscript[v, 1]/Sqrt[2]])}}

I also would like to know the difference between Conjugate[] and Conjugate'[].
 

Answers and Replies

  • #3
This is the screenshot.
cats.jpg
 
  • #4
DrClaude
Mentor
7,796
4,328
What is the input that gave you this?
 
  • #5
Dale
Mentor
Insights Author
2021 Award
32,844
10,034
To remove I.0 from your output you should probably remove it from your input. It doesn't make sense to take the dot product of two scalars. I think it indicates an error in your code.
 
  • #6
I solved that problem already. The error is in my code. I used I dot with matrix. However, I have 1x2 matrix times 2x1 matrix and I get 1x1 matrix. Can I change this to scalar?
 
  • #7
Dale
Mentor
Insights Author
2021 Award
32,844
10,034
To me it doesn't make sense to have a dot product of I with anything.

If you read the documentation on Dot it says that if either of the arguments are not lists then the Dot remains unevaluated. So that is consistent with the behavior that we see.
 
Last edited:

Related Threads on How to remove I.0 from output?

  • Last Post
Replies
2
Views
2K
Replies
4
Views
3K
Replies
1
Views
4K
Replies
5
Views
8K
Replies
4
Views
13K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
3
Views
2K
Top