x+x+x+x+x+...... Up to finite x times= x^2   Differentiating both sides  we get 1+1+1+1+1......=2x  What is wrong in this?? Attempt: I'm thinking that the above statement written is only for natural numbers..
Consider the following:   $1 = 1^2$ $2 + 2 = 2^2$ $3 + 3 + 3 = 3^2$   Therefore,   $\underbrace{x + x + x + \ldots + x}_{x \textrm{ times}}= x^2$   Take the derivative of lhs and rhs and we get:   $\underbrace{1 + 1 + 1 + \ldots + 1}_{x \textrm{ times}} = 2x$   Which simplifies to:   $x = 2x$   and hence    $1 = 2$.     Clearly something is wrong but I am unable pinpoint my mistake.
When should you use generator expressions and when should you use list comprehensions in Python?  # Generator expression (x*2 for x in range(256))  # List comprehension [x*2 for x in range(256)] We will generate a csv file with below values  yp1234,577,1,3 yp5678,577,3,5 yp9012,132,8,9   I need to extract data and create files based on second column. If it's 577 then the whole line has to be extracted and placed in a separate file. I mean I need a file having lines with second column as 577 alone and another file with second column as 132 alone  I tried using IF but didn't work How do I get a list of installed files from a package? Lie algebra of $\left(\begin{smallmatrix}a & b\\ & a^2\end{smallmatrix}\right )$ in $GL_2(\mathbb{R})$ I'm working on the question     Let $G$ be the group of invertible real matrices of the form $\left [\begin{array}{c c}a &amp; b\\ &amp; a^2\end{array}\right ]$. Determine the Lie algebra $L$ of $G$, and compute the bracket on $L$.   I'm familiar with how to derive the Lie algebra for a linear group like $U_n$, $SU_n$, etc. but I'm not sure what to do in a more explicit case like this. Is it "I" or "me" in "Keep Tom and I/me updated"? A list of inconveniences between quantum mechanics and (general) relativity? What is this lock screen with ads and how do I remove it? I think my device got a malware. A lock screen with ads sometimes appear, and I must swipe an area at the bottom of the screen to open the phone. I am in Eastern Europe, some ads are in Slavic languages, and they are seemingly related to travel.    Image resized. Click to view the full image  I have seen ads for Lot Air (Polish carrier). I recently went to their site.  Considering my recent surfing activity and the nature of the ads, I guess the malware is connected to airlines active in Eastern Europe.  The lock screen also promotes the app "DU Quick Charger" by claiming it has recharged the phone extra fast during screen off. (!?) It also shows battery level. I have never installed DU Quick Charger. I doubt DU Quick Charger is installed on the phone.  The problem started after installing Ryanair app. The problem is maybe, but not surely, related to this. Uninstalling Ryanair and restarting the phone doesn't remove the occasional appearance of this lock screen. After a while the situation has changed for the worse, now this lock screen appears after EVERY screen off.  I have always used Avast. I am not rooted and only install via Google Play.  What is this? And how do I remove it? Gaming with Virtualbox, has it worked for you? Currently I am using Windows 8. I have a virtual box with Ubuntu set up for development. Aside from that I sometimes just want to relax and enjoy a game (Battlefield 3, Skyrim, Saints Row: The Third, etc) after hours of research and development.   I want to have my main machine with linux, and install windows on a virtual box.   What I want to know, from those who have tried or seen it:   How is the performance? I've never been clear on this but, even if I install the correct drivers on the windows box, will it matter? At least on this part, I'm just curious how it offload. Which drivers will matter the most.  Mouse and Keyboard integration, I'll be honest, sometimes the mouse integration in Virtual Box is a bit frustrating, mouse cursor disappears, etc.    I'm not sure if this is the right place to ask. I'm merely trying to come back to linux, yet I'm a PC gamer so I can't throw away Steam. I'm aware of the linux client, but most of those games won't work.   If there's a right place to ask this whether StackExchange sites or any other site let me know.   Cheers and I hope those in the same position find a middle ground. Interesting tab on StackOverflow One day I directed to SO and was met with the awesome Interesting page, which I really like. But when I travel away from it, I have to re-enter the query string to get it back. Is there a plan to make this tab visible so I can click to it anytime? How do I move Ubuntu dock to bottom on Ubuntu 17.10 and later? Extremely difficult logic question using conditional statement In this problem, we will only consider (real-valued) functions with domain $\mathbb{R}$. We define two new concepts. Let $f$, and $g$ be two functions.  We say $f$ is a rival of $g$ if   &emsp;&emsp;&emsp;&emsp; $\exists x\in \mathbb{R} \ \text{s.t.} \ \forall y\in \mathbb{R}, x \lt y \implies \lvert f(x)- g(x)\rvert\lt\lvert f(y)-g(y)\rvert$    We say $f$ is a frenemy of $g$ if  &emsp;&emsp;&emsp;&emsp; $\forall x\in\mathbb{R} \ \text{s.t.} \ \  x \lt y \ \ \text{AND} \ \ \lvert f(x)-g(x)\rvert \lt \lvert f(y)-g(y)\rvert$  Below are four claims. Which ones are true and which ones are false? If a claim is true prove it. If a claim is false, show it with a counterexample.  a) If $f$ and $g$ are any two functions and $f$ is a rival of $g$ then $f$ is a frenemy of $g$. b) If $f$ and $g$ are any two functions and $f$ is a frenemy of $g$ then $f$ is a rival of $g$. If $f$ and $g$ are any two functions and $f$ is a rival of $g$, then $g$ is a rival of $f$. Let $f$, $g$, and $h$ be any three functions. If $f$ is a frenemy of $g$ and $g$ is a frenemy of $h$ then $f$ is a frenemy of $h$  What are the four claims stating? Especially for c), the concept is not even present I am having a misunderstanding on how to solve them? In what order are the dated ordered by? Certainly not alphanumeric order.  ls -lt sorts by modification time. But I need creation time. Someone's car hit our metal bar gate, so one of the rods is bent as shown in the photo. What kind of a tool can I use to bend this back, so it's straight? Thank you! I have two partitions, one of them has a file system and the other is unallocated.  How to merge two partitions? Getting a closed form from $\sum_{i=1}^{n-1} \sum_{j=i+1}^{n} \sum_{k=1}^{j} 1$ I am looking for a good GTD (todo/task/project management) app that has cloud sync. I'd like it to be on my iPhone, iPad and Mac. Web app would be nice, too.  OmniFocus is the closest thing I've found but it seems too expensive.  Things don't have clound sync... only WiFi sync is available for Things.  Do you know of any GTD app I'm looking for? Thanks! Proof that two spaces that are homotopic have the same de Rham cohomology I know this is true, but how do I prove it? Specifically, I'm trying to calculate the de Rham cohomology of the 3-sphere by using the Mayer-Vietoris sequence and covering $S^3$ with two hemispherical sets $U, V$, such that $U$ intersects $V$ in a "2-band", an equatorial band homotopic to a 2-sphere. Java String split is not working 70s or 80s Book. Post Catastrophe, Sheriff tries to hold town together, and keep his schizo wife from killing him How to Silence the read command The read command is useful when reading data from the user . I am trying to read a number from 1-5 from the user. How can I make it so the input of the user does not show up in the log